﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Limpio.Master" Inherits="System.Web.Mvc.ViewPage<FONCREAGROINTEGRAL.Models.PERSONAL>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Edit
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <% using (Html.BeginForm("Edit", "personal", FormMethod.Post, new { id = "personal", enctype = "multipart/form-data" }))
       {%>
        <%: Html.ValidationSummary(true) %>

            <div class="contenedor">

            <div class="filasinborde">

            <div class="columna">

            <div class="divLC"> 
            <div class="divLabel">
                Ap. Paterno
            </div>
            <div class="divcampox">
                <%: Html.TextBoxFor(model => model.ApePaterno)%><br />
                <%: Html.ValidationMessageFor(model => model.ApePaterno)%>
            </div>
            </div>
            
            <div class="divLC"> 
            <div class="divLabel">
                Ap. Materno
            </div>
            <div class="divcampox">
                <%: Html.TextBoxFor(model => model.ApeMaterno)%><br />
                <%: Html.ValidationMessageFor(model => model.ApeMaterno)%>
            </div>
            </div>
            
            <div class="divLC">
            <div class="divLabel">
                <%: Html.LabelFor(model => model.Nombres)%>
            </div>
            <div class="divcampox">
                <%: Html.TextBoxFor(model => model.Nombres)%><br />
                <%: Html.ValidationMessageFor(model => model.Nombres)%>
            </div>
            </div>

            <div class="divLC">
            <div class="divLabel">
                Nacionalidad
            </div>
            <div class="divcampox">
                <%: Html.DropDownList("IdNacionalidad")%>
                <%: Html.ValidationMessageFor(model => model.IdNacionalidad)%>
            </div>
            </div>

            <div class="divLC">
            <div class="divLabel">
                Lugar Nacimiento
            </div>
            <div class="divcampox">
                <%: Html.TextBoxFor(model => model.LugarNacimiento)%>
                <%: Html.ValidationMessageFor(model => model.LugarNacimiento)%>
            </div>
            </div>
            
            <div class="divLC">
            <div class="divLabel">
                <%: Html.DropDownList("IdTipoDI")%>
            </div>
            <div class="divcampox">
                <%: Html.TextBoxFor(model => model.NroDI, new { maxlength = 12 })%><br />
                <%: Html.ValidationMessageFor(model => model.NroDI)%>
            </div>
            
            </div>
            
            <div class="divLC">
            <div class="divLabel">
                <%: Html.LabelFor(model => model.Direccion)%>
            </div>
            <div class="divcampox">
                <%: Html.TextBoxFor(model => model.Direccion)%>
                <%: Html.ValidationMessageFor(model => model.Direccion)%>
            </div>
            </div>

            <div class="divLC">
            <div class="divLabel">
                F. Nacimiento
            </div>
            <div class="divcampox" id="divFechaNacimiento">
                <%--<%: Html.TextBoxFor(model => model.FechaNacimiento)%>--%>
                <%: Html.ValidationMessageFor(model => model.FechaNacimiento)%>
            </div>
            </div>

            <div class="divLC">
            <div class="divLabel">
                <%: Html.LabelFor(model => model.Sexo)%>
            </div>
            <div class="divcampox">
                <%: Html.DropDownList("Sexo")%>
                <%: Html.ValidationMessageFor(model => model.Sexo)%>
            </div>
            </div>
            
            <div class="divLC">
            <div class="divLabel">
                Estado Civil
            </div>
            <div class="divcampox">
                <%: Html.DropDownList("EstadoCivil")%>
                <%: Html.ValidationMessageFor(model => model.EstadoCivil)%>
            </div>
            </div>

            <div class="divLC">
            <div class="divLabel">
                Cod EsSalud
            </div>
            <div class="divcampox">
                <%: Html.TextBoxFor(model => model.EsSalud)%>
                <%: Html.ValidationMessageFor(model => model.EsSalud)%>
            </div>
            </div>

            <div class="divLC">
            <div class="divLabel">
                Licencia Conducir
            </div>
            <div class="divcampox">
                <%: Html.TextBoxFor(model => model.LicenciaConducir)%>
                <%: Html.ValidationMessageFor(model => model.LicenciaConducir)%>
            </div>
            </div>

            <div class="divLC">
            <div class="divLabel">
                Gr. Sanguineo
            </div>
            <div class="divcampox">
                <%: Html.TextBoxFor(model => model.TipoSangre)%>
                <%: Html.ValidationMessageFor(model => model.TipoSangre)%>
            </div>
            </div>

            <div class="divLC">
            <div class="divLabel">
               <%: Html.LabelFor(model => model.Discapacidad)%>
            </div>
            <div class="divcampox">
                <%: Html.DropDownList("Discapacidad")%>
                <%: Html.ValidationMessageFor(model => model.Discapacidad)%>
            </div>
            </div>

            </div>

            <div class="columnasinborde">

            <%--<div class="fila">
            Contacto Personal
            <div class="divLC">
            <div class="divLabel">
                <%: Html.LabelFor(model => model.Telefono)%>
            </div>
            <div class="divcampox">
                <%: Html.TextBoxFor(model => model.Telefono)%>
                <%: Html.ValidationMessageFor(model => model.Telefono)%>
            </div>
            </div>

            <div class="divLC">
            <div class="divLabel">
                <%: Html.LabelFor(model => model.Celular)%>
            </div>
            <div class="divcampox">
                <%: Html.TextBoxFor(model => model.Celular)%>
                <%: Html.ValidationMessageFor(model => model.Celular)%>
            </div>
            </div>

            <div class="divLC">
            <div class="divLabel">
                <%: Html.LabelFor(model => model.Email)%>
            </div>
            <div class="divcampox">
                <%: Html.TextBoxFor(model => model.Email)%><br />
                <%: Html.ValidationMessageFor(model => model.Email)%>
            </div>
            </div>
            </div>--%>

            <div class="fila">
            Contacto Personal
            <div class="divLC">
            <div class="divLabel">
                Telefono
            </div>
            <div class="divcampox">
                <%: Html.TextBoxFor(model => model.Telefonocasa)%>
                <%: Html.ValidationMessageFor(model => model.Telefonocasa)%>
            </div>
            </div>
            
            <div class="divLC">

            <div class="divLabel">
                Celular
            </div>
            <div class="divcampox">
                <%: Html.TextBoxFor(model => model.Celularpersonal)%>
                <%: Html.ValidationMessageFor(model => model.Celularpersonal)%>
            </div>

            </div>
            <div class="divLC">

            <div class="divLabel">
                Email
            </div>
            <div class="divcampox">
                <%: Html.TextBoxFor(model => model.Emailpersonal)%><br />
                <%: Html.ValidationMessageFor(model => model.Emailpersonal)%>
            </div>

            </div>
            </div>

            <div class="fila">
            Contacto Institucional
            <div class="divLC">
            <div class="divLabel">
                Telefonos
            </div>
            <div class="divcampox">
                <%: Html.TextBoxFor(model => model.TelefenosIns)%>
                <%: Html.ValidationMessageFor(model => model.TelefenosIns)%>
            </div>
            </div>
            <div class="divLC">
            <div class="divLabel">
                Email
            </div>
            <div class="divcampox">
                <%: Html.TextBoxFor(model => model.EmailCoorporativo)%><br />
                <%: Html.ValidationMessageFor(model => model.EmailCoorporativo)%>
            </div>
            </div>            
            <div class="divLC">
            <div class="divLabel">
                <%: Html.LabelFor(model => model.Fotocheck)%>
            </div>
            <div class="divcampox">
                <%: Html.TextBoxFor(model => model.Fotocheck)%>
                <%: Html.ValidationMessageFor(model => model.Fotocheck)%>
            </div>
            </div>
            </div>
            
            <div class="fila">
            Contacto Emergencia
            <div class="divLC">
            <div class="divLabel">
                Nombre
            </div>
            <div class="divcampox">
                <%: Html.TextBoxFor(model => model.ContactoEmergencia)%>
                <%: Html.ValidationMessageFor(model => model.ContactoEmergencia)%>
            </div>
            </div>

            <div class="divLC">
            <div class="divLabel">
                Telefono
            </div>
            <div class="divcampox">
                <%: Html.TextBoxFor(model => model.TelefonoContacto)%>
                <%: Html.ValidationMessageFor(model => model.TelefonoContacto)%>
            </div>
            </div>

            </div>

            <div class="fila">
            Adjuntos<br />
            <div class="divLC">
            <div class="divLabel">
                Foto
            </div>
            
            <div class="divcampoadj"  >

                <input type="file" name="Archivofotox" id = "Archivofotox" size="8" />
                <%--<%: ViewData["ValidarFoto"];%>--%>
            </div>
            </div>
            
            <div class="divLC">
            <div class="divLabel">
                Gr. Sanguineo
            </div>
            
            <div class="divcampoadj">
                 <input type="file" name="Archivogs" id = "Archivogs" size="8"/>
                 <%--<%: ViewData["ValidarGS"];%>--%>
            </div>
            </div>
            </div>
                      
            
            </div>
            </div>
            
            </div>

            <div class="contenedor">

            <hr />
            <p>
                <input type="submit" value="Guardar" id="bsubmit"/>
            </p>

            </div>

    <% } %>

</asp:Content>

